package com.study.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.study.system.model.entity.SysDict;
import com.study.system.model.form.DictForm;
import com.study.system.model.query.DictPageQuery;
import com.study.system.model.vo.DictPageVO;
import com.study.system.common.model.Option;

import java.util.List;


public interface SysDictService extends IService<SysDict> {

    Page<DictPageVO> getDictPage(DictPageQuery queryParams);


    DictForm getDictForm(Long id);


    boolean saveDict(DictForm dictForm);


    boolean updateDict(Long id, DictForm dictForm);


    boolean deleteDict(String idsStr);


    List<Option> listDictOptions(String typeCode);

}
